QUADIR=0, QUADEN=0, QUADMODE=0, TOFDIR=0
Quadrature Decoder Control and Status
QUADEN | Enables the quadrature decoder mode 0 (0): Quadrature decoder mode is disabled. 1 (1): Quadrature decoder mode is enabled. |
TOFDIR | Indicates if the TOF bit was set on the top or the bottom of counting. 0 (0): TOF bit was set on the bottom of counting. There was an FTM counter decrement and FTM counter changes from its minimum value (zero) to its maximum value (MOD register). 1 (1): TOF bit was set on the top of counting. There was an FTM counter increment and FTM counter changes from its maximum value (MOD register) to its minimum value (zero). |
QUADIR | Counter Direction in Quadrature Decode Mode 0 (0): Counter direction is decreasing (counter decrement). 1 (1): Counter direction is increasing (counter increment). |
QUADMODE | Quadrature Decoder Mode 0 (0): Phase encoding mode. 1 (1): Count and direction encoding mode. |